<?php
/**
 * 店铺管理
 * *销售数据模块
 */
namespace app\index\controller;

use app\common\YujisoController;

class Saleoreport extends YujisoController
{
    public function __construct(){
        parent::__construct();
    }
    //店铺SKU销量报表列表
    public function getStoreSkuList()
    {
        $this->param['type']=1;
       $list= \app\index\service\SaleoreportService::getStoreSkuList($this->param);
        exitJson($list);
    }
    //国家SKU销量报表列表
    public function getCountrySkuList()
    {
        $this->param['type']=2;
       $list= \app\index\service\SaleoreportService::getCountrySkuList($this->param);
        exitJson($list);
    }
    //SKU销量报表列表
    public function getSkuSaleList()
    {
        $this->param['type']=3;
       $list= \app\index\service\SaleoreportService::getSkuSaleList($this->param);
        exitJson($list);
    }
}

